package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 门锁激活码
 * </p>
 *
 * @author Feng
 * @since 2023-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_doorlock_cdkey")
public class RoomDoorlockCdkey extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 门店ID
     */
    private Long apartmentId;

    /**
     * 名称
     */
    private String name;

    /**
     * 激活码
     */
    private String cdkey;

    /**
     * 应用房源数据量
     */
    private Integer roomNum;

    /**
     * 部门ID
     */
    private Long deptId;

}
